#app {
  // 主体区域


  //kele样式覆盖------------------------------------------------------------------

  //禁用状态input样式
  .el-input.is-disabled .el-input__inner{
    color: #000000!important;
    background-color: #66666611!important;
    box-shadow: 0 0 2px #66666655;
  }
  //禁用状态textarea样式
  .el-textarea.is-disabled .el-textarea__inner{
    color: #000000!important;
    background-color: #66666611!important;
    box-shadow: 0 0 2px #66666655;
  }
  //--------------------------------------------------------------kele样式覆盖 END

  .main-container {
    min-height: 100%;
    transition: margin-left .28s;
    margin-left: 230px;
    position: relative;
    header{
      width:100%;
      height:70px;
      background:rgb(48, 65, 86);
      color:rgb(191, 203, 217);
      display:flex;
      justify-content: space-between;
      .top{
        display: flex;
        justify-content: space-between;
        width: 100%;
        .left{
          display:flex;
          justify-content: center;
          align-items: center;
          img{
            width:400px;
            display:inline-block;
          }
        }
        .right{
          .tag-version{
            position: absolute;
            height: 40px;
            top: -4px;
            // right: 300px;
            width: 80px;
            // line-height:40px;
            background-color: #eb5648;
            border: none;
            padding: 8px 0 0;
            text-align: center;
            color: #fafafa;
            font-size: 12px;
            font-weight: 400;
            -webkit-transition: top 218ms;
            transition: top 218ms;
            cursor: pointer;
            // :before {
            //   position: absolute;
            //   left: 0;
            //   bottom: 0;
            //   border: 24px solid transparent;
            //   border-bottom: 8px solid hsla(0,0%,100%,.97);
            // }
            // :after{
            //   position: absolute;
            //   left: 0;
            //   bottom: 0;
            //   border: 24px solid transparent;
            //   border-bottom: 8px solid #424242;
            // }
            span{
              display:block;
              width:0;
              height:0;
              border-width:0 40px 10px;
              border-style:solid;
              border-color:transparent transparent #304156;/*透明 透明  黄*/
              position:absolute;
              top:30px;
              left:0px;
            }
          }
        }
      }


    }
  }
  // 侧边栏
  .sidebar-container::-webkit-scrollbar-track{
    background-color: rgb(48, 65, 86);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
  }
  .sidebar-container::-webkit-scrollbar-thumb{
    background-color: rgb(48, 65, 86);
    -webkit-border-radius: 2em;
    -moz-border-radius: 2em;
    border-radius: 2em;
  }
  .sidebar-container::-webkit-scrollbar-thumb:hover{
    background: #333;
  }
  .sidebar-container::-webkit-scrollbar-corner{
    background: rgb(48, 65, 86);
  }
  .sidebar-container::-webkit-scrollbar{
    width:10px;
    height:10px;
    /**/
  }
  .sidebar-container {
    transition: width 0.28s;
    width: 230px !important;
    height: 100%;
    position: fixed;
    font-size: 0px;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 1001;
    overflow-y: scroll;
    
    background: #1f2d3d !important;
    
    //reset element-ui css
    .horizontal-collapse-transition {
      transition: 0s width ease-in-out, 0s padding-left ease-in-out, 0s padding-right ease-in-out;
    }
    .el-scrollbar__bar.is-vertical{
      right: 0px;
    }
    .scrollbar-wrapper {
      overflow-x: hidden!important;
      .el-scrollbar__view {
        height: 100%;
      }
    }
    .is-horizontal {
      display: none;
    }
    a {
      display: inline-block;
      width: 100%;
      overflow: hidden;
    }
    .svg-icon {
      margin-right: 16px;
    }
    .el-menu {
      border: none;
      height: 100%;
      width: 100% !important;

    }
    .is-active > .el-submenu__title{
      color: #f4f4f5!important;
    }
  }
  .el-scrollbar__wrap {
    overflow-x: hidden;
  }
  .hideSidebar {
    .sidebar-container {
      width: 36px !important;

    }
    .main-container {
      margin-left: 36px;
    }
    .submenu-title-noDropdown {
      padding-left: 10px !important;
      position: relative;
      .el-tooltip {
        padding: 0 10px !important;
      }
    }
    .el-submenu {
      overflow: hidden;
      &>.el-submenu__title {
        padding-left: 10px !important;
        .el-submenu__icon-arrow {
          display: none;
        }
      }
    }
    .el-menu--collapse {
      .el-submenu {
        &>.el-submenu__title {
          &>span {
            height: 0;
            width: 0;
            overflow: hidden;
            visibility: hidden;
            display: inline-block;
          }
        }
      }
    }
  }
  .sidebar-container .nest-menu .el-submenu>.el-submenu__title,
  .sidebar-container .el-submenu .el-menu-item {
    min-width: 180px !important;
    background-color: $subMenuBg !important;
    &:hover {
      background-color: $menuHover !important;
    }
  }
  .el-menu--collapse .el-menu .el-submenu {
    min-width: 180px !important;
  }

  //适配移动端
  .mobile {
    .main-container {
      margin-left: 0px;
    }
    .sidebar-container {
      transition: transform .28s;
      width: 180px !important;
    }
    &.hideSidebar {
      .sidebar-container {
        transition-duration: 0.3s;
        transform: translate3d(-180px, 0, 0);
      }
    }
  }
  .withoutAnimation {
    .main-container,
    .sidebar-container {
      transition: none;
    }
  }
}

.el-menu--vertical{
  & >.el-menu{
    .svg-icon{
      margin-right: 16px;
    }
  }
}
.login-title{
  height: 100%;width: 200px;
}
.login{
  display: flex;
  flex-flow: column;
  justify-content: center;
}
.ulogin{
  background-color: #8c939d55;
  display: flex;
  flex-flow: column;
  justify-content: center;
  .hit{
    margin: 0 auto;
  }
}
.login-dialog{
  background-color: #fff;
  .controller{
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: 20px 0;
  }
}
.update-password-dialog{
  .commit-update-password{
    width: 100%;
    margin: 10px 0;
  }
}
.user-manager-dialog{
  max-height: 40vw;
  margin: 0 auto;
  max-width: 850px;
  overflow: auto;
  .input-with-select{
    margin: 10px 0;
  }
  .top-search{
    display: flex;
    justify-content: space-between;
  }

}
.show-user-by-json{
  max-height: 400px;
  box-shadow: 0 0 5px #dddddd;
  margin: 10px 0;
  border-radius: 5px;
  overflow: auto;
  .view{
    display: flex;
    width: 100%;
    justify-content: right;
  }
}
.export{
  .input-controller{
    display: flex;
    justify-content: left;
  }
}
.user-info-dialog{
  .user-info-item{
    display: flex;
    justify-content: space-between;
    border-width: 1px;
    border-color: #d3dce655;
    border-style: solid;
    border-radius: 5px;
    margin: 3px 0;
    padding: 3px 5px;
    .item-name{
      color: #666;
      min-width: 100px;
    }
    .item-value{
      color: #409EFF;
    }
    .unset{
      color: #8c939d;
    }
  }
  .u-auth-p{
    margin: 10px 0;
    overflow: auto;
    .auths{
    }
    .auths-item{
      float: left;
      border-radius: 5px;
      background-color: #409EFF22;
      color: #409EFF;
      border-style: solid;
      border-width: 1px;
      border-color: #409EFF22;
      padding: 3px 5px;
      margin: 5px;
    }
    .no-auth{
      background-color: #66666622;
      color: #666;
      border-color: #66666622;
    }
  }
}

